/**
 * Copyright &copy; 2012-2017 <a href="https://vivo.com">vivo</a> All rights reserved.
 */
package com.vivo.fx.dealer.entity;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 仓库信息Entity
 * @author jyangye
 * @version 2017-11-07
 */
public class FxWarehouseinfo extends DataEntity<FxWarehouseinfo> {
	
	private static final long serialVersionUID = 1L;
	private String warehouseidBak;		// warehouseid_bak
	private String supplierid;		// supplierid
	private String dealerid;		// dealerid
	private String matdealerid;		// matdealerid
	private String warehousecode;		// warehousecode
	private String warehousename;		// warehousename
	private String warehousetype;		// warehousetype
	private String warehouseproperty;		// warehouseproperty
	private String warehouseaddress;		// warehouseaddress
	private String remark;		// remark
	private String defaultwarehousetype;		// defaultwarehousetype
	private String warehouseid;		// warehouseid
	private String warehouselevel;		// warehouselevel
    private String warehousedealerid;
	
	public FxWarehouseinfo() {
		super();
	}

	public FxWarehouseinfo(String id){
		super(id);
	}

	@Length(min=0, max=32, message="warehouseid_bak长度必须介于 0 和 32 之间")
	public String getWarehouseidBak() {
		return warehouseidBak;
	}

	public void setWarehouseidBak(String warehouseidBak) {
		this.warehouseidBak = warehouseidBak;
	}
	
	@Length(min=0, max=32, message="supplierid长度必须介于 0 和 32 之间")
	public String getSupplierid() {
		return supplierid;
	}

	public void setSupplierid(String supplierid) {
		this.supplierid = supplierid;
	}
	
	@Length(min=0, max=11, message="dealerid长度必须介于 0 和 11 之间")
	public String getDealerid() {
		return dealerid;
	}

	public void setDealerid(String dealerid) {
		this.dealerid = dealerid;
	}
	
	@Length(min=0, max=11, message="matdealerid长度必须介于 0 和 11 之间")
	public String getMatdealerid() {
		return matdealerid;
	}

	public void setMatdealerid(String matdealerid) {
		this.matdealerid = matdealerid;
	}
	
	@Length(min=0, max=10, message="warehousecode长度必须介于 0 和 10 之间")
	public String getWarehousecode() {
		return warehousecode;
	}

	public void setWarehousecode(String warehousecode) {
		this.warehousecode = warehousecode;
	}
	
	@Length(min=1, max=100, message="warehousename长度必须介于 1 和 100 之间")
	public String getWarehousename() {
		return warehousename;
	}

	public void setWarehousename(String warehousename) {
		this.warehousename = warehousename;
	}
	
	@Length(min=1, max=1, message="warehousetype长度必须介于 1 和 1 之间")
	public String getWarehousetype() {
		return warehousetype;
	}

	public void setWarehousetype(String warehousetype) {
		this.warehousetype = warehousetype;
	}
	
	@Length(min=0, max=1, message="warehouseproperty长度必须介于 0 和 1 之间")
	public String getWarehouseproperty() {
		return warehouseproperty;
	}

	public void setWarehouseproperty(String warehouseproperty) {
		this.warehouseproperty = warehouseproperty;
	}
	
	@Length(min=0, max=250, message="warehouseaddress长度必须介于 0 和 250 之间")
	public String getWarehouseaddress() {
		return warehouseaddress;
	}

	public void setWarehouseaddress(String warehouseaddress) {
		this.warehouseaddress = warehouseaddress;
	}
	
	@Length(min=0, max=500, message="remark长度必须介于 0 和 500 之间")
	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}
	
	@Length(min=0, max=1, message="defaultwarehousetype长度必须介于 0 和 1 之间")
	public String getDefaultwarehousetype() {
		return defaultwarehousetype;
	}

	public void setDefaultwarehousetype(String defaultwarehousetype) {
		this.defaultwarehousetype = defaultwarehousetype;
	}
	
	@Length(min=1, max=11, message="warehouseid长度必须介于 1 和 11 之间")
	public String getWarehouseid() {
		return warehouseid;
	}

	public void setWarehouseid(String warehouseid) {
		this.warehouseid = warehouseid;
	}
	
	@Length(min=1, max=4, message="warehouselevel长度必须介于 1 和 4 之间")
	public String getWarehouselevel() {
		return warehouselevel;
	}

	public void setWarehouselevel(String warehouselevel) {
		this.warehouselevel = warehouselevel;
	}


    public String getWarehousedealerid() {
        return warehousedealerid;
    }

    public void setWarehousedealerid(String warehousedealerid) {
        this.warehousedealerid = warehousedealerid;
    }
}